package com.health.db.mapper;

import com.health.db.model.MedicalTreatRecord;
import com.health.db.model.MedicalTreatRecordExample;
import com.health.db.model.MedicalTreatRecordWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MedicalTreatRecordMapper {
    int countByExample(MedicalTreatRecordExample example);

    int deleteByExample(MedicalTreatRecordExample example);

    int deleteByPrimaryKey(Long recid);

    int insert(MedicalTreatRecordWithBLOBs record);

    int insertSelective(MedicalTreatRecordWithBLOBs record);

    List<MedicalTreatRecordWithBLOBs> selectByExampleWithBLOBs(MedicalTreatRecordExample example);

    List<MedicalTreatRecord> selectByExample(MedicalTreatRecordExample example);

    MedicalTreatRecordWithBLOBs selectByPrimaryKey(Long recid);

    int updateByPrimaryKeySelective(MedicalTreatRecordWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(MedicalTreatRecordWithBLOBs record);

    int updateByPrimaryKey(MedicalTreatRecord record);
    
    int deleteByOrderId(Long orderId);
}